Skip to content

feat(assemblies): add karaf-light distribution using the simple feature resolver - #2860

Merged
jbonofre merged 1 commit into
apache:mainfrom
jbonofre:feature/karaf-light-distribution
Sep 8, 2026
Merged

feat(assemblies): add karaf-light distribution using the simple feature resolver#2860
jbonofre merged 1 commit into
apache:mainfrom
jbonofre:feature/karaf-light-distribution

Conversation

@jbonofre

@jbonofre jbonofre commented Sep 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a new apache-karaf-light assembly (assemblies/apache-karaf-light) with the same feature set as the default apache-karaf distribution (framework, standard, specs, spring, enterprise features; same startup/boot/installed features).
  • The generated etc/org.apache.karaf.features.cfg has resolver=simple set by default, so features and bundles are installed in declaration order using the simple feature resolver added in feat(features): add simple feature resolver bypassing OSGi capabilities resolution #2308, instead of the default OSGi capabilities resolver.
  • Register the new module in assemblies/pom.xml.

Test plan

  • mvn -pl assemblies/apache-karaf-light install builds successfully and produces apache-karaf-light-<version>.tar.gz / .zip.
  • Verified the generated etc/org.apache.karaf.features.cfg has resolver=simple while featuresBoot / featuresRepositories are still correctly populated.
  • mvn -pl assemblies/apache-karaf-light install -Ptest builds successfully (CI profile, matching the other distributions).

…re resolver

Add a new apache-karaf-light assembly, matching the default distribution's
feature set, but with resolver=simple set by default in
etc/org.apache.karaf.features.cfg so features and bundles are installed in
declaration order without the OSGi resolver.
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Test Results

  705 files    705 suites   1h 17m 43s ⏱️
  946 tests   898 ✅  48 💤 0 ❌
2 838 runs  2 694 ✅ 144 💤 0 ❌

Results for commit d74f5aa.

@jbonofre

jbonofre commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

This correspond to the discussion on the mailing list (https://lists.apache.org/thread/klt1wl9lmxq54gxn3lw23qor2dx76tdd).

@jbonofre
jbonofre merged commit 681f0cc into apache:main Sep 8, 2026
7 checks passed
@jbonofre
jbonofre deleted the feature/karaf-light-distribution branch September 8, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant